import request from '@/utils/request'
import qs from 'qs'

export const TmealsQueryAll = () =>
    request({
        url: '/tjtMeals/queryAll',
        method: 'get'
    })

export const TmealsTypeQueryAll = () =>
    request({
        url: '/tjtMeals/queryTmealsType',
        method: 'get'
    })

    export const TmealsqueryByID = (id) =>
    request({
        url: '/tjtMeals/'+id,
        method: 'get'
    })

    export const TmealsAdd = (TMeals) =>
    request({
        url: '/tjtMeals',
        method: 'post',
        data:TMeals
    })
    export const Tmealsupd = (TMeals) =>
    request({
        url: '/tMeals',
        method: 'put',
        data:TMeals
    })


